﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.IO;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.Kinect;

namespace jKinect
{
    public class JointEx
    {

        public JointType JointType { get; set; }
        public SkeletonPoint Position { get; set; }
        public JointTrackingState TrackingState { get; set; }
        public static explicit operator JointEx(Joint joint)
        {
            return new JointEx() { JointType = joint.JointType, Position = joint.Position, TrackingState = joint.TrackingState };
        }
    }
}